// i18n.js
export default {
  zh: {
    login: {
      mobile: '输入手机号',
      password: '输入密码',
      login: '登录',
      register: '注册账户',
      wxauth: '获取微信授权',
      mobile_required: '手机号不能为空',
      password_required: '密码不能为空',
      notice: '温馨提示',
      ok: '确定',
      cancel: '取消',
      auth_first: '请先授权',
    },
    reg: {
      password: '登录密码',
      code: '验证码',
      invite: '邀请码 没有留空',
      register: '注册',
      agree: '同意',
      protocol: '软件用户协议',
      phone_error: '手机号不正确',
      pwd_error: '密码不正确',
      code_error: '验证码不正确',
      code_sms_error: '短信验证码错误',
      read_protocol: '请先阅读《软件用户协议》',
      get_code:'获取验证码',
      get_code_error:'验证码发送失败'
    },
    index: {
      searchPlaceholder: '搜索你喜欢的短剧',
      searchButton: '搜索',
      enterKeyword: '请输入搜索关键词',
      // 主页面tab翻译
      recommendDrama: '推荐短剧',
      plotIntroduction: '剧情介绍',
      plotWallpaper: '剧情壁纸'
    },
    dailiDetail: {
      drama: '短剧',
      downloadCover: '下载封面',
      commissionRatio: '分佣比例',
      highestRevenue: '单剧最高收益',
      contentIntroduction: '内容简介',
      promotionMonetization: '推广变现',
      dramaSynopsis: '短剧简介',
      netdiskLink: '网盘链接',
      copyLink: '复制链接',
      openDirectly: '直接打开',
      promotionData: '推广数据',
      totalViews: '总浏览量',
      totalClicks: '总点击量',
      totalEarnings: '总收益',
      promotionTips: '推广技巧',
      tip1: '• 分享到社交媒体获得更多曝光',
      tip2: '• 制作吸引人的推广文案',
      tip3: '• 定期更新推广内容',
      startPromotion: '我要推广',
      agentOnly: '仅限代理用户',
      contactCustomer: '联系客服加群获取代理权限',
      linkInformation: '链接信息',
      promotionLink: '推广链接',
      copy: '复制',
      download: '下载',
      open: '打开',
      noLink: '暂无链接'
    },
    promotionCreate: {
      createPromotion: '创建推广',
      commissionRatio: '分佣比例',
      promotionSettings: '推广设置',
      promotionTitle: '推广标题',
      enterPromotionTitle: '请输入推广标题',
      promotionDescription: '推广描述',
      enterPromotionDescription: '请输入推广描述',
      promotionLink: '推广链接',
      enterPromotionLink: '请输入推广链接',
      promotionPlatform: '推广平台',
      wechat: '微信',
      qq: 'QQ',
      weibo: '微博',
      douyin: '抖音',
      promotionStrategy: '推广策略',
      targetAudience: '目标受众',
      allAges: '全年龄段',
      youngGroup: '年轻群体',
      adultGroup: '成年群体',
      promotionTime: '推广时间',
      days7: '7天',
      days15: '15天',
      days30: '30天',
      preview: '预览',
      createPromotion: '创建推广'
    },
    promotionList: {
      myPromotions: '我的推广',
      totalPromotions: '总推广数',
      totalViews: '总浏览量',
      totalEarnings: '总收益',
      all: '全部',
      inProgress: '进行中',
      completed: '已完成',
      platform: '平台',
      createTime: '创建时间',
      views: '浏览量',
      clicks: '点击量',
      earnings: '收益',
      edit: '编辑',
      share: '分享',
      delete: '删除',
      noPromotions: '暂无推广活动',
      createFirstPromotion: '点击下方按钮创建您的第一个推广',
      createNewPromotion: '创建推广',
      unknown: '未知',
      paused: '已暂停'
    },
    daili: {
      welcome: '欢迎',
      welcomeUse: '欢迎使用',
      hot: '热门',
      hotDrama: '热剧',
      contactCustomer: '联系客户获取代理权限',
      loading: '加载中'
    },
    member: {
      openMembership: '开通会员',
      exclusiveBenefits: '尊享以下专属权益:',
      freeAllEpisodes: '免费看所有剧集',
      hdQuality: 'HD 1080p 画质',
      offlineDownload: '离线下载',
      dailyPoints: '每日积分奖励',
      activate: '激活',
      // 菜单项翻译
      watchHistory: '观看历史',
      rechargeNow: '立即充值',
      myWallet: '我的钱包',
      welfareCenter: '福利中心',
      myPromotion: '我的推广',
      offlineDownloadMenu: '离线下载',
      gifts: '礼物',
      onlineService: '邀请好友',
      settings: '设置',
      notLogin: '暂未登录',
      clickLogin: '点击登录 享受更多会员特惠',
      myDrama: '我的追剧',
      myLikes: '我的喜欢',
      shippingAddress: '收货地址',
      officialMall: '官方商城',
      customerService: '联系客服',
      myTeam: '我的团队',
      distributionOrder: '分销订单',
      logoutConfirm: '确定要退出登录么',
      shareTitle: '发送给好友',
      shareFailed: '发送失败'
    },
    zui: {
      recentlyWatched: '最近观看',
      more: '更多',
      myDramaList: '我的追剧',
      continueWatching: '继续观看'
    },
    sign: {
      continuousSign: '你已连续签到',
      days: '天',
      signDesc: '签到领看币，新剧抢先看。连续签到7天领惊喜礼包',
      todaySign: '今日签到',
      pleaseLogin: '请先登录',
      login: '登录',
      signSuccess: '签到成功',
      signFailed: '签到失败'
    },
    common: {
      networkError: '网络错误，请重试',
      loading: '加载中',
      loadMore: '加载更多',
      noMore: '没有更多了'
    },
    video: {
      share: '分享',
      follow: '追剧',
      followed: '已追',
      pleaseLogin: '请先登录',
      login: '登录',
      shareLinkCopied: '分享连接已复制到剪贴板',
      shareTitle: '分享标题',
      shareSummary: '分享总结',
      shareFailed: '发送失败'
    },
    settings: {
      profile: '个人资料',
      about: '关于我们',
      version: '版本信息',
      currentVersion: '当前版本',
      logout: '退出登录',
      logoutConfirm: '确定要退出登录么'
    },
    profile: {
      avatar: '头像',
      realName: '真实姓名',
      gender: '性别',
      birthday: '生日',
      mobile: '手机号',
      female: '女',
      male: '男',
      saveSuccess: '保存成功',
      loading: '加载中',
      modifySuccess: '修改成功',
      confirm: '确认',
      pleaseModify: '请修改',
      modify: '修改'
    },
    vipcard: {
      expiryDate: '到期日期',
      remainingDays: '剩余天数',
      days: '天',
      expired: '已经到期',
      currentLevel: '当前等级',
      upgradeNow: '立即升级',
      daysLater: '天后到期',
      renewVIP: '续费VIP',
      renewNow: '立即续费',
      vipBenefits: 'VIP会员持有权益',
      benefits: '福利',
      superPackage: '超级礼包',
      specialDiscount: '特惠折扣',
      memberPrice: '会员专属价',
      exclusiveOffer: '专属特惠',
      freeVideos: '免费视频',
      exclusiveAdvisor: '专属顾问',
      exclusiveSearch: '独家找片',
      birthdayPackage: '生日礼包',
      normalUser: '普通用户',
      upgradeVipSaveMoney: '升级VIP，省更多钱',
      vipMember: 'VIP会员',
      greetingVip: '您好！尊敬的VIP',
      memberExpired: '您的会员已经到期',
      memberExpiresIn: '您的会员',
      balance: '余额',
      coupon: '优惠券',
      points: '积分',
      recharge: '充值',
      withdraw: '提现',
      notLoginTip: '您还没登录，登录后即可体验VIP会员',
      loginNow: '立即登录'
    },
    vipcm: {
      confirm: '确定',
      enterCardNumber: '请输入卡密卡号',
      warmTip: '温馨提示',
      tip: '提示',
      recharge: '充值'
    },
    integrallog: {
      currentPoints: '当前积分',
      exchangePoints: '积分兑换',
      pointsDetails: '积分明细',
      noPointsRecord: '暂无积分记录',
      pullUpLoadMore: '上拉加载更多',
      loading: '加载中',
      noMoreData: '没有数据了',
      noData: '没有数据'
    },
    integraldh: {
      currentPoints: '当前积分',
      exchangeDescription: '兑换说明：',
      exchangeAmount: '兑换数量:',
      enterExchangeAmount: '请输入兑换数量',
      submitExchange: '提交兑换',
      pleaseEnterAmount: '请输入兑换数量'
    },
    recharge: {
      currentBalance: '当前余额',
      balanceDetails: '余额明细',
      couponValue: '送价值',
      yuan: '元',
      coupon: '优惠券',
      customAmount: '自定义金额',
      pay: '支付',
      cardRecharge: '卡密充值',
      enterCardNumber: '请输入卡密卡号',
      pleaseEnterCard: '请输入卡密',
      amountError: '金额不对',
      openidLoading: 'Openid未加载',
      loading: '加载中',
      warmTip: '温馨提示',
      paymentSuccess: '支付成功',
      paymentFailed: '支付失败'
    },
    withdraw: {
      withdrawMethod: '提现方式',
      currentBalance: '当前余额',
      withdrawAmount: '提现金额',
      enterWithdrawAmount: '请输入提现金额',
      withdrawName: '提现姓名',
      enterWithdrawName: '请输入提现姓名',
      withdrawAccount: '提现账号',
      enterWithdrawAccount: '请输入提现账号',
      note: '备注',
      submit: '提交',
      tip: '提示'
    },
    recentWatched: {
      continueWatching: '继续观看',
      pullUpLoadMore: '上拉加载更多',
      loading: '加载中',
      noMoreData: '没有数据了',
      noData: '没有数据',
      pleaseEnterSearchContent: '请输入搜索内容'
    },
    watchRecord: {
      continueWatching: '继续观看',
      pullUpLoadMore: '上拉加载更多',
      loading: '加载中',
      noMoreData: '没有数据了',
      noData: '没有数据',
      pleaseEnterSearchContent: '请输入搜索内容'
    },
    myLikes: {
      continueWatching: '继续观看',
      pullUpLoadMore: '上拉加载更多',
      loading: '加载中',
      noMoreData: '没有数据了',
      noData: '没有数据',
      pleaseEnterSearchContent: '请输入搜索内容'
    },
    adviser: {
      advisorName: '张顾问',
      copy: '复制',
      changeAdvisor: '更换顾问',
      feedbackPlaceholder: '我有问题要跟顾问反馈:',
      submitNow: '立即提交',
      copied: '已经复制',
      copyFailed: '复制失败'
    },
    fxlog: {
      orderId: '订单ID',
      pullUpLoadMore: '上拉加载更多',
      loading: '加载中',
      noMoreData: '没有数据了',
      noData: '没有数据'
    },
    tabBar: {
      drama: '追剧',
      theater: '剧场',
      recommend: '代理',
      profile: '我的'
    },
    pageTitles: {
      // 主要页面
      drama: '追剧',
      recommend: '推荐',
      memberCenter: '个人中心',
      settings: '设置',
      
      // 会员相关
      vipCardDetail: '会员卡详情',
      vipUpgrade: '会员升级',
      balanceRecharge: '余额充值',
      details: '明细',
      balanceDetails: '余额明细',
      
      // 积分相关
      myPoints: '我的积分',
      pointsExchange: '积分兑换',
      pointsMall: '积分商城',
      earnPoints: '赚积分',
      
      // 个人资料
      profile: '个人资料',
      aboutUs: '关于我们',
      modifyName: '修改姓名',
      modifyNickname: '修改昵称',
      modifyWechat: '修改微信号',
      
      // 顾问相关
      exclusiveAdvisor: '专属顾问',
      changeAdvisor: '更换顾问',
      switchStore: '切换门店',
      
      // 订单相关
      orderCenter: '订单中心',
      cardOrderDetail: '次卡订单详情',
      packageOrderDetail: '特惠套餐订单详情',
      pointsPackageOrder: '积分兑换特惠套餐订单',
      pointsCouponOrder: '积分兑换优惠券订单',
      pointsGoodsOrder: '积分兑换商品订单',
      orderComment: '订单评价',
      
      // 其他功能
      withdraw: '提现',
      withdrawRecord: '提现记录',
      birthdaySetting: '生日设置',
      birthdayPackageRecord: '生日礼包记录',
      feedback: '问题反馈',
      shippingAddress: '收货地址',
      addressManagement: '地址管理',
      allList: '全部列表',
      searchList: '搜索列表',
      detail: '详情',
      wallpaperImage: '壁纸图片',
      placeOrder: '下单',
      advisorShareBenefits: '顾问分享特惠福利',
      list: '列表',
      packageExchangeDetail: '特惠套餐兑换详情',
      goodsExchangeDetail: '商品兑换详情',
      exchangeOrder: '兑换下单',
      moreServices: '更多服务',
      myTeam: '我的团队',
      share: '分享',
      shop: '商城',
      recentWatched: '最近观看',
      myLikes: '我的喜欢',
      watchRecord: '追剧记录',
      
      // 登录相关
      userLogin: '用户登录',
      wechatMiniProgramLogin: '微信小程序登录',
      wechatOfficialAccountLogin: '微信公众号登录',
      forgetPassword: '忘记密码',
      userAgreement: '用户协议',
      
      // 代理相关
      agentDetail: '代理详情',
      myPromotions: '我的推广',
      createPromotion: '创建推广',
      
      // 加载状态
      loading: '加载中'
    }
  },
  en: {
    login: {
      mobile: 'Enter mobile',
      password: 'Enter password',
      login: 'Login',
      register: 'Register',
      wxauth: 'Get WeChat Auth',
      mobile_required: 'Mobile number required',
      password_required: 'Password required',
      notice: 'Notice',
      ok: 'OK',
      cancel: 'Cancel',
      auth_first: 'Please authorize first',
    },
    reg: {
      password: 'Password',
      code: 'Code',
      invite: 'Invitation code (optional)',
      register: 'Register',
      agree: 'Agree',
      protocol: 'User Agreement',
      phone_error: 'Invalid mobile number',
      pwd_error: 'Invalid password',
      code_error: 'Invalid code',
      code_sms_error: 'SMS code error',
      read_protocol: 'Please read the User Agreement first',
      get_code:'Get Code',
      get_code_error:'Code send failed'
    },
    index: {
      searchPlaceholder: 'Search for your favorite dramas',
      searchButton: 'Search',
      enterKeyword: 'Please enter search keyword',
      // 主页面tab翻译
      recommendDrama: 'Recommend Dramas',
      plotIntroduction: 'Plot Introduction',
      plotWallpaper: 'Plot Wallpaper'
    },
    dailiDetail: {
      drama: 'Drama',
      downloadCover: 'Download Cover',
      commissionRatio: 'Commission Ratio',
      highestRevenue: 'Highest Revenue',
      contentIntroduction: 'Content Introduction',
      promotionMonetization: 'Promotion Monetization',
      dramaSynopsis: 'Drama Synopsis',
      netdiskLink: 'Netdisk Link',
      copyLink: 'Copy Link',
      openDirectly: 'Open Directly',
      promotionData: 'Promotion Data',
      totalViews: 'Total Views',
      totalClicks: 'Total Clicks',
      totalEarnings: 'Total Earnings',
      promotionTips: 'Promotion Tips',
      tip1: '• Share on social media for more exposure',
      tip2: '• Create engaging promotion copy',
      tip3: '• Regularly update promotion content',
      startPromotion: 'I Want to Promote',
      agentOnly: 'Only for agent users',
      contactCustomer: 'Contact customer service to get agent permission',
      linkInformation: 'Link Information',
      promotionLink: 'Promotion Link',
      copy: 'Copy',
      download: 'Download',
      open: 'Open',
      noLink: 'No Link'
    },
    promotionCreate: {
      createPromotion: 'Create Promotion',
      commissionRatio: 'Commission Ratio',
      promotionSettings: 'Promotion Settings',
      promotionTitle: 'Promotion Title',
      enterPromotionTitle: 'Please enter promotion title',
      promotionDescription: 'Promotion Description',
      enterPromotionDescription: 'Please enter promotion description',
      promotionLink: 'Promotion Link',
      enterPromotionLink: 'Please enter promotion link',
      promotionPlatform: 'Promotion Platform',
      wechat: 'WeChat',
      qq: 'QQ',
      weibo: 'Weibo',
      douyin: 'Douyin',
      promotionStrategy: 'Promotion Strategy',
      targetAudience: 'Target Audience',
      allAges: 'All Ages',
      youngGroup: 'Young Group',
      adultGroup: 'Adult Group',
      promotionTime: 'Promotion Time',
      days7: '7 Days',
      days15: '15 Days',
      days30: '30 Days',
      preview: 'Preview',
      createPromotion: 'Create Promotion'
    },
    promotionList: {
      myPromotions: 'My Promotions',
      totalPromotions: 'Total Promotions',
      totalViews: 'Total Views',
      totalEarnings: 'Total Earnings',
      all: 'All',
      inProgress: 'In Progress',
      completed: 'Completed',
      platform: 'Platform',
      createTime: 'Create Time',
      views: 'Views',
      clicks: 'Clicks',
      earnings: 'Earnings',
      edit: 'Edit',
      share: 'Share',
      delete: 'Delete',
      noPromotions: 'No promotion activities yet',
      createFirstPromotion: 'Click the button below to create your first promotion',
      createNewPromotion: 'Create Promotion',
      unknown: 'Unknown',
      paused: 'Paused'
    },
    daili: {
      welcome: 'Welcome',
      welcomeUse: 'Welcome to use',
      hot: 'Hot',
      hotDrama: 'Hot Drama',
      contactCustomer: 'Contact customer to get agent permission',
      loading: 'Loading'
    },
    member: {
      openMembership: 'Open Membership',
      exclusiveBenefits: 'Enjoy the following exclusive benefits:',
      freeAllEpisodes: 'Free to watch all episodes',
      hdQuality: 'HD 1080p quality',
      offlineDownload: 'Offline download',
      dailyPoints: 'Daily points reward',
      activate: 'Activate',
      // Menu item translations
      watchHistory: 'Watch History',
      rechargeNow: 'Recharge Now',
      myWallet: 'My Wallet',
      welfareCenter: 'Welfare Center',
      myPromotion: 'My Promotion',
      offlineDownloadMenu: 'Offline Download',
      gifts: 'Gifts',
      onlineService: 'Online Service',
      settings: 'Settings',
      notLogin: 'Not logged in',
      clickLogin: 'Click to login and enjoy more member benefits',
      myDrama: 'My Drama',
      myLikes: 'My Likes',
      shippingAddress: 'Shipping Address',
      officialMall: 'Official Mall',
      customerService: 'Customer Service',
      myTeam: 'My Team',
      distributionOrder: 'Distribution Order',
      logoutConfirm: 'Are you sure you want to logout?',
      shareTitle: 'Share with friends',
      shareFailed: 'Share failed'
    },
    zui: {
      recentlyWatched: 'Recently Watched',
      more: 'More',
      myDramaList: 'My Drama List',
      continueWatching: 'Watching'
    },
    sign: {
      continuousSign: 'You have signed in for',
      days: 'days',
      signDesc: 'Sign in to get coins, watch new dramas first. Sign in for 7 consecutive days to get surprise gifts',
      todaySign: 'Sign In Today',
      pleaseLogin: 'Please login first',
      login: 'Login',
      signSuccess: 'Sign in successful',
      signFailed: 'Sign in failed'
    },
    common: {
      networkError: 'Network error, please try again',
      loading: 'Loading',
      loadMore: 'Load more',
      noMore: 'No more data'
    },
    video: {
      share: 'Share',
      follow: 'Follow',
      followed: 'Followed',
      pleaseLogin: 'Please login first',
      login: 'Login',
      shareLinkCopied: 'Share link copied to clipboard',
      shareTitle: 'Share Title',
      shareSummary: 'Share Summary',
      shareFailed: 'Share failed'
    },
    settings: {
      profile: 'Profile',
      about: 'About Us',
      version: 'Version Info',
      currentVersion: 'Current Version',
      logout: 'Logout',
      logoutConfirm: 'Are you sure you want to logout?'
    },
    profile: {
      avatar: 'Avatar',
      realName: 'Real Name',
      gender: 'Gender',
      birthday: 'Birthday',
      mobile: 'Mobile',
      female: 'Female',
      male: 'Male',
      saveSuccess: 'Save successful',
      loading: 'Loading',
      modifySuccess: 'Modify successful',
      confirm: 'Confirm',
      pleaseModify: 'Please modify ',
      modify: 'Modify '
    },
    vipcard: {
      expiryDate: 'Expiry Date',
      remainingDays: 'Remaining Days',
      days: ' days',
      expired: 'Expired ',
      currentLevel: 'Current Level',
      upgradeNow: 'Upgrade Now',
      daysLater: ' days later',
      renewVIP: 'Renew VIP',
      renewNow: 'Renew Now',
      vipBenefits: 'VIP Member Benefits',
      benefits: 'Benefits',
      superPackage: 'Super Package',
      specialDiscount: 'Special Discount',
      memberPrice: 'Member Price',
      exclusiveOffer: 'Exclusive Offer',
      freeVideos: 'Free Videos',
      exclusiveAdvisor: 'Exclusive Advisor',
      exclusiveSearch: 'Exclusive Search',
      birthdayPackage: ' Birthday Package',
      normalUser: 'Normal User',
      upgradeVipSaveMoney: 'Upgrade VIP, Save More Money',
      vipMember: 'VIP Member',
      greetingVip: 'Hello! Dear VIP',
      memberExpired: 'Your membership has expired',
      memberExpiresIn: 'Your membership expires in',
      balance: 'Balance',
      coupon: 'Coupon',
      points: 'Points',
      recharge: 'Recharge',
      withdraw: 'Withdraw',
      notLoginTip: 'You are not logged in, login to experience VIP membership',
      loginNow: 'Login Now'
    },
    vipcm: {
      confirm: 'Confirm',
      enterCardNumber: 'Please enter card number',
      warmTip: 'Warm Tip',
      tip: 'Tip',
      recharge: 'Recharge'
    },
    integrallog: {
      currentPoints: 'Current Points',
      exchangePoints: 'Exchange Points',
      pointsDetails: 'Points Details',
      noPointsRecord: 'No Points Record',
      pullUpLoadMore: 'Pull up to load more',
      loading: 'Loading',
      noMoreData: 'No more data',
      noData: 'No data'
    },
    integraldh: {
      currentPoints: 'Current Points',
      exchangeDescription: 'Exchange Description:',
      exchangeAmount: 'Exchange Amount:',
      enterExchangeAmount: 'Please enter exchange amount',
      submitExchange: 'Submit Exchange',
      pleaseEnterAmount: 'Please enter exchange amount'
    },
    recharge: {
      currentBalance: 'Current Balance',
      balanceDetails: 'Balance Details',
      couponValue: 'Get',
      yuan: 'Yuan',
      coupon: 'Coupon',
      customAmount: 'Custom Amount',
      pay: 'Pay',
      cardRecharge: 'Card Recharge',
      enterCardNumber: 'Please enter card number',
      pleaseEnterCard: 'Please enter card',
      amountError: 'Amount error',
      openidLoading: 'Openid not loaded',
      loading: 'Loading',
      warmTip: 'Warm Tip',
      paymentSuccess: 'Payment Success',
      paymentFailed: 'Payment Failed'
    },
    withdraw: {
      withdrawMethod: 'Withdraw Method',
      currentBalance: 'Current Balance',
      withdrawAmount: 'Withdraw Amount',
      enterWithdrawAmount: 'Please enter withdraw amount',
      withdrawName: 'Withdraw Name',
      enterWithdrawName: 'Please enter withdraw name',
      withdrawAccount: 'Withdraw Account',
      enterWithdrawAccount: 'Please enter withdraw account',
      note: 'Note',
      submit: 'Submit',
      tip: 'Tip'
    },
    recentWatched: {
      continueWatching: 'Watching',
      pullUpLoadMore: 'Pull up to load more',
      loading: 'Loading',
      noMoreData: 'No more data',
      noData: 'No data',
      pleaseEnterSearchContent: 'Please enter search content'
    },
    watchRecord: {
      continueWatching: 'Watching',
      pullUpLoadMore: 'Pull up to load more',
      loading: 'Loading',
      noMoreData: 'No more data',
      noData: 'No data',
      pleaseEnterSearchContent: 'Please enter search content'
    },
    myLikes: {
      continueWatching: 'Watching',
      pullUpLoadMore: 'Pull up to load more',
      loading: 'Loading',
      noMoreData: 'No more data',
      noData: 'No data',
      pleaseEnterSearchContent: 'Please enter search content'
    },
    adviser: {
      advisorName: 'Zhang Advisor',
      copy: 'Copy',
      changeAdvisor: 'Change Advisor',
      feedbackPlaceholder: 'I have questions to feedback to the advisor:',
      submitNow: 'Submit Now',
      copied: 'Copied',
      copyFailed: 'Copy Failed'
    },
    fxlog: {
      orderId: 'Order ID',
      pullUpLoadMore: 'Pull up to load more',
      loading: 'Loading',
      noMoreData: 'No more data',
      noData: 'No data'
    },
    pageTitles: {
      // 主要页面
      drama: 'Drama',
      recommend: 'Recommend',
      memberCenter: 'Member Center',
      settings: 'Settings',
      
      // 会员相关
      vipCardDetail: 'VIP Card Detail',
      vipUpgrade: 'VIP Upgrade',
      balanceRecharge: 'Balance Recharge',
      details: 'Details',
      balanceDetails: 'Balance Details',
      
      // 积分相关
      myPoints: 'My Points',
      pointsExchange: 'Points Exchange',
      pointsMall: 'Points Mall',
      earnPoints: 'Earn Points',
      
      // 个人资料
      profile: 'Profile',
      aboutUs: 'About Us',
      modifyName: 'Modify Name',
      modifyNickname: 'Modify Nickname',
      modifyWechat: 'Modify WeChat',
      
      // 顾问相关
      exclusiveAdvisor: 'Exclusive Advisor',
      changeAdvisor: 'Change Advisor',
      switchStore: 'Switch Store',
      
      // 订单相关
      orderCenter: 'Order Center',
      cardOrderDetail: 'Card Order Detail',
      packageOrderDetail: 'Package Order Detail',
      pointsPackageOrder: 'Points Package Order',
      pointsCouponOrder: 'Points Coupon Order',
      pointsGoodsOrder: 'Points Goods Order',
      orderComment: 'Order Comment',
      
      // 其他功能
      withdraw: 'Withdraw',
      withdrawRecord: 'Withdraw Record',
      birthdaySetting: 'Birthday Setting',
      birthdayPackageRecord: 'Birthday Package Record',
      feedback: 'Feedback',
      shippingAddress: 'Shipping Address',
      addressManagement: 'Address Management',
      allList: 'All List',
      searchList: 'Search List',
      detail: 'Detail',
      wallpaperImage: 'Wallpaper Image',
      placeOrder: 'Place Order',
      advisorShareBenefits: 'Advisor Share Benefits',
      list: 'List',
      packageExchangeDetail: 'Package Exchange Detail',
      goodsExchangeDetail: 'Goods Exchange Detail',
      exchangeOrder: 'Exchange Order',
      moreServices: 'More Services',
      myTeam: 'My Team',
      share: 'Share',
      shop: 'Shop',
      recentWatched: 'Recent Watched',
      myLikes: 'My Likes',
      watchRecord: 'Watch Record',
      
      // 登录相关
      userLogin: 'User Login',
      wechatMiniProgramLogin: 'WeChat Mini Program Login',
      wechatOfficialAccountLogin: 'WeChat Official Account Login',
      forgetPassword: 'Forget Password',
      userAgreement: 'User Agreement',
      
      // 代理相关
      agentDetail: 'Agent Detail',
      myPromotions: 'My Promotions',
      createPromotion: 'Create Promotion',
      
      // 加载状态
      loading: 'Loading'
    },
    tabBar: {
      drama: 'Home',
      theater: 'Promotion',
      recommend: 'Favorites',
      profile: 'Profile'
    }
  }
} 

// 动态设置页面标题的工具函数
export function setPageTitle(pageKey) {
  // 获取当前语言环境
  const currentLang = uni.getStorageSync('language') || 'zh';
  
  // 定义语言配置
  const languageConfig = {
    zh: {
      pageTitles: {
        drama: '首页',
        recommend: '收藏',
        memberCenter: '会员中心',
        settings: '设置',
        vipCardDetail: 'VIP卡详情',
        vipUpgrade: 'VIP升级',
        balanceRecharge: '余额充值',
        details: '明细',
        balanceDetails: '余额明细',
        myPoints: '我的积分',
        pointsExchange: '积分兑换',
        pointsMall: '积分商城',
        earnPoints: '赚积分',
        profile: '个人资料',
        aboutUs: '关于我们',
        modifyName: '修改姓名',
        modifyNickname: '修改昵称',
        modifyWechat: '修改微信',
        exclusiveAdvisor: '专属顾问',
        changeAdvisor: '更换顾问',
        switchStore: '切换门店',
        orderCenter: '订单中心',
        cardOrderDetail: '卡券订单详情',
        packageOrderDetail: '套餐订单详情',
        pointsPackageOrder: '积分套餐订单',
        pointsCouponOrder: '积分优惠券订单',
        pointsGoodsOrder: '积分商品订单',
        orderComment: '订单评价',
        withdraw: '提现',
        withdrawRecord: '提现记录',
        birthdaySetting: '生日设置',
        birthdayPackageRecord: '生日套餐记录',
        feedback: '意见反馈',
        shippingAddress: '收货地址',
        addressManagement: '地址管理',
        allList: '全部列表',
        searchList: '搜索列表',
        detail: '详情',
        wallpaperImage: '壁纸图片',
        placeOrder: '下单',
        advisorShareBenefits: '顾问分享收益',
        list: '列表',
        packageExchangeDetail: '套餐兑换详情',
        goodsExchangeDetail: '商品兑换详情',
        exchangeOrder: '兑换订单',
        moreServices: '更多服务',
        myTeam: '我的团队',
        share: '分享',
        shop: '商城',
        recentWatched: '最近观看',
        myLikes: '我的喜欢',
        watchRecord: '观看记录',
        userLogin: '用户登录',
        wechatMiniProgramLogin: '微信小程序登录',
        wechatOfficialAccountLogin: '微信公众号登录',
        forgetPassword: '忘记密码',
        userAgreement: '用户协议',
        agentDetail: '代理详情',
        myPromotions: '我的推广',
        createPromotion: '创建推广'
      }
    },
    en: {
      pageTitles: {
        drama: 'Home',
        recommend: 'Favorites',
        memberCenter: 'Member Center',
        settings: 'Settings',
        vipCardDetail: 'VIP Card Detail',
        vipUpgrade: 'VIP Upgrade',
        balanceRecharge: 'Balance Recharge',
        details: 'Details',
        balanceDetails: 'Balance Details',
        myPoints: 'My Points',
        pointsExchange: 'Points Exchange',
        pointsMall: 'Points Mall',
        earnPoints: 'Earn Points',
        profile: 'Profile',
        aboutUs: 'About Us',
        modifyName: 'Modify Name',
        modifyNickname: 'Modify Nickname',
        modifyWechat: 'Modify WeChat',
        exclusiveAdvisor: 'Exclusive Advisor',
        changeAdvisor: 'Change Advisor',
        switchStore: 'Switch Store',
        orderCenter: 'Order Center',
        cardOrderDetail: 'Card Order Detail',
        packageOrderDetail: 'Package Order Detail',
        pointsPackageOrder: 'Points Package Order',
        pointsCouponOrder: 'Points Coupon Order',
        pointsGoodsOrder: 'Points Goods Order',
        orderComment: 'Order Comment',
        withdraw: 'Withdraw',
        withdrawRecord: 'Withdraw Record',
        birthdaySetting: 'Birthday Setting',
        birthdayPackageRecord: 'Birthday Package Record',
        feedback: 'Feedback',
        shippingAddress: 'Shipping Address',
        addressManagement: 'Address Management',
        allList: 'All List',
        searchList: 'Search List',
        detail: 'Detail',
        wallpaperImage: 'Wallpaper Image',
        placeOrder: 'Place Order',
        advisorShareBenefits: 'Advisor Share Benefits',
        list: 'List',
        packageExchangeDetail: 'Package Exchange Detail',
        goodsExchangeDetail: 'Goods Exchange Detail',
        exchangeOrder: 'Exchange Order',
        moreServices: 'More Services',
        myTeam: 'My Team',
        share: 'Share',
        shop: 'Shop',
        recentWatched: 'Recent Watched',
        myLikes: 'My Likes',
        watchRecord: 'Watch Record',
        userLogin: 'User Login',
        wechatMiniProgramLogin: 'WeChat Mini Program Login',
        wechatOfficialAccountLogin: 'WeChat Official Account Login',
        forgetPassword: 'Forget Password',
        userAgreement: 'User Agreement',
        agentDetail: 'Agent Detail',
        myPromotions: 'My Promotions',
        createPromotion: 'Create Promotion'
      }
    }
  };
  
  // 获取当前语言的配置
  const currentMessages = languageConfig[currentLang] || languageConfig.zh;
  const title = currentMessages.pageTitles?.[pageKey];
  
  if (title) {
    uni.setNavigationBarTitle({
      title: title
    });
  }
}

// 页面标题映射表
export const pageTitleMap = {
  'pages/client/zui': 'drama',
  'pages/client/video': 'recommend',
  'pages/client/member/index': 'memberCenter',
  'pages/set/set': 'settings',
  'pages/client/vipcard/index': 'vipCardDetail',
  'pages/client/vipcard/vipcm': 'vipUpgrade',
  'pages/client/vipcard/recharge': 'balanceRecharge',
  'pages/client/vipcard/fxlog': 'details',
  'pages/client/vipcard/moneylog': 'balanceDetails',
  'pages/client/vipcard/integrallog': 'myPoints',
  'pages/client/vipcard/integraldh': 'pointsExchange',
  'pages/client/integral/index': 'pointsMall',
  'pages/client/integral/role': 'earnPoints',
  'pages/set/grzl/grzl': 'profile',
  'pages/set/gywm/gywm': 'aboutUs',
  'pages/set/grzl/modname/modname': 'modifyName',
  'pages/set/grzl/nc/nc': 'modifyNickname',
  'pages/set/grzl/wx/wx': 'modifyWechat',
  'pages/client/vipcard/adviser': 'exclusiveAdvisor',
  'pages/client/vipcard/adviserchange': 'changeAdvisor',
  'pages/client/mendian': 'switchStore',
  'pages/client/order/index': 'orderCenter',
  'pages/client/order/card': 'cardOrderDetail',
  'pages/client/order/tuan': 'packageOrderDetail',
  'pages/client/order/integraltuan': 'pointsPackageOrder',
  'pages/client/order/integralcoupon': 'pointsCouponOrder',
  'pages/client/order/integralgoods': 'pointsGoodsOrder',
  'pages/client/order/comment': 'orderComment',
  'pages/client/member/tx': 'withdraw',
  'pages/client/member/txjl': 'withdrawRecord',
  'pages/client/member/info': 'birthdaySetting',
  'pages/client/member/birthday': 'birthdayPackageRecord',
  'pages/client/member/feedback': 'feedback',
  'pages/client/member/address': 'shippingAddress',
  'pages/client/member/addressform': 'addressManagement',
  'pages/client/tuan/index': 'allList',
  'pages/client/tuan/ss': 'searchList',
  'pages/client/tuan/list': 'detail',
  'pages/client/tuan/info': 'detail',
  'pages/client/tuan/infotp': 'wallpaperImage',
  'pages/client/tuan/buy': 'placeOrder',
  'pages/client/tuan/share': 'advisorShareBenefits',
  'pages/client/integral/list': 'list',
  'pages/client/integral/tuan': 'packageExchangeDetail',
  'pages/client/integral/goods': 'goodsExchangeDetail',
  'pages/client/integral/exchange': 'exchangeOrder',
  'pages/client/miniapp': 'moreServices',
  'pages/client/mytuandui': 'myTeam',
  'pages/client/member/qrshare': 'share',
  'pages/client/shop': 'shop',
  'pages/client/tuan/zjgk': 'recentWatched',
  'pages/client/tuan/wdxh': 'myLikes',
  'pages/client/tuan/zjjl': 'watchRecord',
  'pages/login/login': 'userLogin',
  'pages/login/loginwxxcx': 'wechatMiniProgramLogin',
  'pages/login/logingzh': 'wechatOfficialAccountLogin',
  'pages/login/forget': 'forgetPassword',
  'pages/login/agreement': 'userAgreement',
  'pages/client/daili-detail': 'agentDetail',
  'pages/client/promotion/list': 'myPromotions',
  'pages/client/promotion/create': 'createPromotion'
}; 